﻿using System;
public class AlbumViewModel
{
    public string Url { get; set; }
    public string Name { get; set; }
    public DateTime Date { get; set; }
    public string Author { get; set; }
    public string[] ImagesUrls { get; set; }

	public AlbumViewModel(Album album)
	{
        this.Url = "AlbumViewer.aspx?" + AlbumHelper.AlbumIdKeyString + "=" + album.ID;
        this.Name = album.AlbumName;
        this.Date = album.CreationDate;
        this.Author = album.Author;
        this.ImagesUrls = new string[5];
	}
}